#ifndef _FIG_GAMECENTER_H_
#define _FIG_GAMECENTER_H_


//#include "gamecenter/c_gamecenter_manager.h"
#include <string>


class FIGGameCenter	//: public CGameCenterManager
{
public:
    
    static const std::string LEADER_BOARD_NAME;
    
    static FIGGameCenter&           Instance();

	
	enum ACHIEVEMENT_TYPE
	{
		ACHIEVEMENT_NONE,
		
		ALIEN_CRUSHER,  //
		SENIOR_ALIEN_CRUSHER,		//
		ALIEN_CRUSHER_ULTIMATE,		//
		
		BOSS_KILLER, //
		VERTERN,		   //
		STARS_COLLECTOR,

		SUPER_PILOT, //
		ZEALOUS_PILOT,	 //
		GOD_OF_ALIENS,				// changed "post to facebook"

	    ACHIEVEMENT_C,
	};


	
	std::string                     GetLeaderBoardName();
    void                            OnGainAchievement(int ID);
    void                            OnSuccessfulySubmitted(int ID);
	std::string                     MapTypeToName(int Type);
	static std::string				GetString(int Type);
	static std::string				GetMedalImageName(int Type);
	static std::string				GetMedalExplanation(int Type);


	void                            OnRetrieveGainedAchivements();
	void                            UpdateValue(int Type,
                                                    bool Success,
                                                    bool IsFinalDecision);
	
	
protected:
    
    FIGGameCenter();

	//virtual	void					Internal_LoginOnSuccess(const std::wstring& PlayerName);
	//virtual	void					Internal_LoginOnError();
	
private:

	


};


#endif
